package yjj.enums;

import lombok.AllArgsConstructor;

@AllArgsConstructor
public enum ResultCodeEnum {
    SUCCESS (1,"成功"),
    ERROR (0,"失败"),
    AUTHENTICATION_EXPIRED(401,"身份验证过期，请重新登陆"),
    ACCESS_ERROR (403,"用户权限不足"),
    FILE_ERROR (501,"文件处理异常");

    private final Integer code;
    private final String defaultMsg;



}
